from datetime import datetime
from typing import List, Union, Literal

from sqlmodel import SQLModel, Field
from sqlalchemy import Column, Text


class SystemRoleMenu(SQLModel, table=True):
    __tablename__ = "system_role_menu"

    id: str = Field(default='', primary_key=True, index=True, nullable=False, max_length=100)
    role_id: int = Field(default=0, nullable=False)
    menu_id: int = Field(default=0, nullable=False)

